package mylab.base.foundation.template.dto;

import lombok.Getter;
import lombok.Setter;

/**
 * 排序参数
 */
@Getter
@Setter
public class OrderParam extends DTO {

    private String property;

    private boolean isAsc;

    public OrderParam(String property, boolean isAsc) {
        this.property = property;
        this.isAsc = isAsc;
    }
}
